#include<iostream>
#include<cstdio> 
using namespace std;

int main(void) {
	long long n = 2021041820210418;
	long long sum = 0;
	for (long long i = 1; i <= n; i++) {
		for (long long j = 1; i * j <= n; j++) {
			for (long long k = 1; i * j * k <= n; k++) {
				if (i * j * k == n && (i != j || i != k || j != k)) {
					sum++;
				}
			}
		}
	}
	cout << sum << endl;
	return 0;
} 
